<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" 
                    integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <script src="../文件/vue.js"></script>
    <title>就诊人管理</title>
</head>
<body>
    <div id="app">
    <!-- 导航栏区域 -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
        <a class="navbar-brand" href="#">东方医院</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
      <!-- 首页 -->
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <ul class="navbar-nav mr-auto">   
            <li class="nav-item mx-3">
              <a class="nav-link active" aria-current="page" href="#">首页</a>
            </li>
      <!-- 医院概况 -->
            <li class="nav-item dropdown mx-3">
              <a id="my-dropdown" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">医院概况</a>
              <div class="dropdown-menu" aria-labelledby="my-dropdown">
                  <a class="dropdown-item " href="#">医院介绍</a>
                  <a class="dropdown-item " href="#">组织架构</a>
                  <a class="dropdown-item " href="#">医院历史</a>
              </div>
            </li>
      <!-- 医疗服务 -->
            <li class="nav-item dropdown mx-3">
              <a id="my-dropdown" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">医疗服务</a>
              <div class="dropdown-menu" aria-labelledby="my-dropdown">
                  <a class="dropdown-item " href="#">医院介绍</a>
                  <a class="dropdown-item " href="#">组织架构</a>
                  <a class="dropdown-item " href="#">医院历史</a>
              </div>
            </li>
      <!-- 科室导航 -->
            <li class="nav-item mx-3">
              <a class="nav-link" href="#">科室导航</a>
            </li>
      <!-- 学术交流 -->
            <li class="nav-item mx-3">
              <a class="nav-link" href="#">学术交流</a>
            </li>
          </ul>
      <!-- 搜索框 -->
          <form class="form-inline mx-3" method="get" action="">
              <input class="form-control mr-sm-2" type="search" placeholder="搜索科室，医生" aria-label="Search">
              <button class="btn btn-success my-2 my-sm-0" type="submit">搜索</button>
          </form>
        </div>
    </nav>
    
    <!-- 巨型屏幕区域 -->
    <div class="jumbotron jumbotron-fluid pb-0 pt-5">
        <div class="container pl-0">
            <h1 class="display-4">就诊人管理</h1>
            <p class="lead">东方医院</p>
        </div>
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="./page.html">科室导航</a></li>
                <li class="breadcrumb-item"><a href="#">门诊排班</a></li>
                <li class="breadcrumb-item active" aria-current="page">就诊人管理</a></li>
                <li class="breadcrumb-item"><a href="#">预约挂号</a></li>
            </ol>
            </nav>
    </div>

    <!-- 就诊信息 -->
    <div class="tabl mx-5">
        <button type="button" class="btn btn-success mx-5">新增就诊人</button>

    <!-- 就诊人表格 -->
        <div class="table2 mx-5">
        <table class="table table-striped mx-5 my-3">
            <thead>
            <tr>
                <th scope="col">姓名</th>
                <th scope="col">身份证号</th>
                <th scope="col">手机号</th>
                <th scope="col">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr v-for="item in people">
                <th scope="row">{{item.name}}</th>
                <td>{{item.id}}</td>
                <td>{{item.phone}}</td>
                <td>
                    <button type="button" class="btn btn-outline-warning" style="width: 90px;">编辑</button>  
                    <button type="button" class="btn btn-outline-danger" style="width: 90px;">删除</button>
                </td>
            </tr>
            </tbody>
        </table>
        </div>
    </div>

    <!--页面页脚-->
    <div class="jumbotron text-center mt-5 mb-0">
        <h1 class="display-4">csuft</h1>
        <p class="lead">中南林业科技大学</p>
    </div>
</div>

    <script>
        let v1 = new Vue({
            el: '#app',
            data:{
               people:[
                {
                    name:"张三",
                    id:430103200103040042,
                    phone:19131500000
                },
                {
                    name:"李四",
                    id:430103200105060042,
                    phone:19131511111
                },
                {
                    name:"小红",
                    id:430103200112150042,
                    phone:19131522222
                },
                {
                    name:"小明",
                    id:430103200203240042,
                    phone:19131533333
                },
                {
                    name:"小明",
                    id:430103200203240042,
                    phone:19131533333
                },
                {
                    name:"小明",
                    id:430103200203240042,
                    phone:19131533333
                },
                {
                    name:"小明",
                    id:430103200203240042,
                    phone:19131533333
                },
                {
                    name:"小明",
                    id:430103200203240042,
                    phone:19131533333
                },
                {
                    name:"小明",
                    id:430103200203240042,
                    phone:19131533333
                },
                {
                    name:"张三",
                    id:430103200103040042,
                    phone:19131500000
                },
                {
                    name:"李四",
                    id:430103200105060042,
                    phone:19131511111
                },
                {
                    name:"小红",
                    id:430103200112150042,
                    phone:19131522222
                },
               ],
               
              }
        });
      </script>
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>